﻿using System;

using System.Runtime.Serialization;
using MaLu.Data;

namespace Malu.Entity
{

    [Serializable]
    [DataContract(Name = "SOthers")]
    [Table("SOthers", Info = "")]
    public class Others : BaseEntity
    {
        [DataMember]
        [Column("id", DataType.Int32, Length = 4, CanNull = false, AutoIncrement = true, PrimaryKey = true)]
        public int id { get; set; }

        [DataMember]
        [Column("name", DataType.VarChar, Length = 50)]
        public string name { get; set; }

        [DataMember]
        [Column("address", DataType.VarChar, Length = 50)]
        public string address { get; set; }


        [DataMember]
        [Column("Town", DataType.Float)]
        public float Town { get; set; }


        [DataMember]
        [Column("Reason", DataType.VarChar, Length = 50)]
        public string Reason { get; set; }
      
        [DataMember]
        [Column("partycount", DataType.Int32, Length = 4)]
        public int partycount { get; set; }

        [DataMember]
        [Column("Male", DataType.Int32, Length = 4)]
        public int Male { get; set; }

        [DataMember]
        [Column("Female", DataType.Int32, Length = 4)]
        public int Female { get; set; }


        [DataMember]
        [Column("belongto", DataType.VarChar, Length = 50)]
        public string belongto { get; set; }

       

        [DataMember]
        [Column("year", DataType.Int32, Length = 4)]
        public int year { get; set; }

        [DataMember]
        [Column("month", DataType.Int32, Length = 4)]
        public int month { get; set; }

        [DataMember]
        [Column("money", DataType.Float)]
        public float money { get; set; }

      
    }
}
